package com.lianzai.car.service;

import com.lianzai.car.domain.CarLogDO;
import com.lianzai.car.domain.CarParkInfoDO;

import java.util.List;
import java.util.Map;

public interface CarLogService {

    CarLogDO get(Integer id);

    CarLogDO getByOrderId(String orderId);

    CarLogDO getByCameraId(Long cameraId);

    CarLogDO getByCarNumberAndCommunity(String carNumber, Long CommunityId);

    List<CarLogDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int save(CarLogDO carLog);

    int syncLog(CarLogDO carLog);

    int updatePayOrder(CarLogDO carLog);

    int updatePayStatus(CarLogDO carLog);

    int payedByCarNumber(CarLogDO carLog);

    CarParkInfoDO getParkInfoByCameraId(Long cameraId);
}
